package com.xingkeduo.model.po;

import java.util.Date;

public class TMarketingTranInfo {
    /** */
    private Long id;

    /** 券id （变更库存的券/卡/券包）*/
    private Long marketingId;

    /** 关联业务id （可能是券包id，或者是领取记录ID）*/
    private Long bizId;

    /** 库存变更类型 0 增加，1  减少，2 其他*/
    private Integer tranType;

    /** 当前库存*/
    private Integer surplusQuantity;

    /** 库存变更数量*/
    private Integer quantity;

    /** 备注说明*/
    private String remark;

    /** 操作用户，可能是用户或者后台管理人员*/
    private String createBy;

    /** 变更时间*/
    private Date createTime;

    public TMarketingTranInfo() {
		super();
	}
	public TMarketingTranInfo(Long marketingId, Long bizId, Integer tranType, Integer surplusQuantity,
			Integer quantity, String remark, String createBy, Date createTime) {
		super();
		this.marketingId = marketingId;
		this.bizId = bizId;
		this.tranType = tranType;
		this.surplusQuantity = surplusQuantity;
		this.quantity = quantity;
		this.remark = remark;
		this.createBy = createBy;
		this.createTime = createTime;
	}
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMarketingId() {
        return marketingId;
    }

    public void setMarketingId(Long marketingId) {
        this.marketingId = marketingId;
    }

    public Long getBizId() {
        return bizId;
    }

    public void setBizId(Long bizId) {
        this.bizId = bizId;
    }

    public Integer getTranType() {
        return tranType;
    }

    public void setTranType(Integer tranType) {
        this.tranType = tranType;
    }

    public Integer getSurplusQuantity() {
        return surplusQuantity;
    }

    public void setSurplusQuantity(Integer surplusQuantity) {
        this.surplusQuantity = surplusQuantity;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}